{% extends 'base.html' %}

{% block title %}
{{ title }}
{% endblock %}

{% block contents %}

<h2>{{ contents }}</h2>

<a href='/n/'>新界面</a>

<div width="100%" style="border-style: double;">
十大<br/>
{{ top10_html }}
</div>
<br/>
<form action='/bn/' method="POST">讨论区: <input type="text" id="bn" name="bn" /> <input type="submit" value="前往"/></form>
<!-- onclick='window.location.href="/b/"+document.getElementById("bn").value' -->




{% ifequal config.user.email 'anonymous@gmail.com' %}
请 <a href="{{ login_url }}">{{ login_text }}</a> 以定制自己的浏览配置。<br/>
您可以定制浏览帖子时是否显示 “标题”，“头信息”，“内容”，“引用”，“签名档”。
{% endifequal %}

{% ifnotequal config.user.email 'anonymous@gmail.com' %}
欢迎{{ config.user }} 访问本站  <a href="{{ login_url }}">{{ login_text }}</a>
<form action='/c/' method="POST">
    <table width="100%" style="border-style: double;">
        <tr>
            <th align="left">您的配置信息</th>
        </tr>
        <tr>
            <td><input type="checkbox" name="showThreadNewPage" id="showThreadNewPage" value="True" {% if config.showThreadNewPage %}checked="checked"{% endif %}/><label for="showThreadNewPage">显示主题 新窗口链接</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="showThreadOriginUrl" id="showThreadOriginUrl" value="True" {% if config.showThreadOriginUrl %}checked="checked"{% endif %}/><label for="showThreadOriginUrl">显示主题 原文链接</label></td>
        </tr>
        
        <tr>
            <td><input type="checkbox" name="showTitle" id="showTitle" value="True" {% if config.showTitle %}checked="checked"{% endif %}/><label for="showTitle">显示标题</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="showHead" id="showHead" value="True" {% if config.showHead %}checked="checked"{% endif %}/><label for="showHead">显示帖子信息</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="showPost" id="showPost" value="True" {% if config.showPost %}checked="checked"{% endif %}/><label for="showPost">显示帖子内容</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="showRef" id="showRef" value="True" {% if config.showRef %}checked="checked"{% endif %}/><label for="showRef">显示引用</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="showAttachment" id="showAttachment" value="True" {% if config.showAttachment %}checked="checked"{% endif %}/><label for="showAttachment">显示附件</label></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="showSignature" id="showSignature" value="True" {% if config.showSignature %}checked="checked"{% endif %}/><label for="showSignature">显示签名档</label></td>
        </tr>
        
        <!--
        <tr>
            <td>浏览的主题计数:</td>
            <td>{{ config.threads_count }}</td>
        </tr>
        <tr>
            <td>浏览的版面计数:</td>
            <td>{{ config.boards_count }}</td>
        </tr>
        <tr>
            <td>浏览的帖子计数:</td>
            <td>{{ config.posts_count }}</td>
        </tr>
        <tr>
            <td>创建时间:</td>
            <td>{{ config.created_on|date:"Y-m-d H:i:s" }}</td>
        </tr>
        <tr>
            <td>最近登录时间:</td>
            <td>{{ config.last_update|date:"Y-m-d H:i:s" }}</td>
        </tr>
        -->
        <tr>
            <td><input type="submit" value="更新"/></td>
        </tr>
    </table>
</form>
{% endifnotequal %}

<table width="100%">
    <tr>
        <td><a href="/bp/NewExpress">NewExpress</a> <a href="/b/NewExpress">同主题</a></td>
        <td><a href="/bp/MyPhoto">MyPhoto</a> <a href="/b/MyPhoto">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/MyWallet">MyWallet</a> <a href="/b/MyWallet">同主题</a></td>        
        <td><a href="/bp/CreditCard">CreditCard</a> <a href="/b/CreditCard">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/DigiHome">DigiHome</a> <a href="/b/DigiHome">同主题</a></td>
        <td><a href="/bp/DigiImage">DigiImage</a> <a href="/b/DigiImage">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/DigiMusic">DigiMusic</a> <a href="/b/DigiMusic">同主题</a></td>
        <td><a href="/bp/EconForum">EconForum</a> <a href="/b/EconForum">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/FamilyLife">FamilyLife</a> <a href="/b/FamilyLife">同主题</a></td>
        <td><a href="/bp/Love">Love</a> <a href="/b/Love">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/Age">Age</a> <a href="/b/Age">同主题</a></td>
        <td><a href="/bp/Boy">Boy</a> <a href="/b/Boy">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/Girl">Girl</a> <a href="/b/Girl">同主题</a></td>
        <td><a href="/bp/OMTV">OMTV</a> <a href="/b/OMTV">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/TV">TV</a> <a href="/b/TV">同主题</a></td>
        <td><a href="/bp/PrisonBreak">PrisonBreak</a> <a href="/b/PrisonBreak">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/PopMusic">PopMusic</a> <a href="/b/PopMusic">同主题</a></td>
        <td><a href="/bp/Joke">Joke</a> <a href="/b/Joke">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/NewSoftware">NewSoftware</a> <a href="/b/NewSoftware">同主题</a></td>
        <td><a href="/bp/NLP">NLP</a> <a href="/b/NLP">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/SearchEngineTech">SearchEngineTech</a> <a href="/b/SearchEngineTech">同主题</a></td>
        <td><a href="/bp/PocketLife">PocketLife</a> <a href="/b/PocketLife">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/Python">Python</a> <a href="/b/Python">同主题</a></td>
        <td><a href="/bp/Reader">Reader</a> <a href="/b/Reader">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/WorkLife">WorkLife</a> <a href="/b/WorkLife">同主题</a></td>
        <td><a href="/bp/ADAgent_HG">ADAgent_HG</a> <a href="/b/ADAgent_HG">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/ADAgent_TG">ADAgent_TG</a> <a href="/b/ADAgent_TG">同主题</a></td>
        <td><a href="/bp/CampusInfo">CampusInfo</a> <a href="/b/CampusInfo">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/FoodInfo">FoodInfo</a> <a href="/b/FoodInfo">同主题</a></td>
        <td><a href="/bp/GuoJiXue">GuoJiXue</a> <a href="/b/GuoJiXue">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/ITExpress">ITExpress</a> <a href="/b/ITExpress">同主题</a></td>
        <td><a href="/bp/MilitaryView">MilitaryView</a> <a href="/b/MilitaryView">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/Mobile">Mobile</a> <a href="/b/Mobile">同主题</a></td>
        <td><a href="/bp/RealEstate">RealEstate</a> <a href="/b/RealEstate">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/RealEstate_review">RealEstate_review</a> <a href="/b/RealEstate_review">同主题</a></td>
        <td><a href="/bp/Shopping">Shopping</a> <a href="/b/Shopping">同主题</a></td>
    </tr>
    <tr>
        <td><a href="/bp/TrafficInfo">TrafficInfo</a> <a href="/b/TrafficInfo">同主题</a></td>
        <td></td>
    </tr>
</table>

{% endblock %}
